Skip to main content

comma

Type

operator

Summary

Concatenates (joins) two strings and inserts a comma between them.

Syntax

<string1> , <string2>

Description

Use the , operator to combine two strings with a comma between them.

The , operator is equivalent to comma a/. In other words,

    \"this\" , \"that\"

does the same thing as

    \"this\"  comma  \"that\"

Parameters

NameTypeDescription

string1

string

The operands string1 and string2 are literal strings of characters (delimited with double quotes), or expressions that evaluate to strings.

string2

string

Examples

put "first","second" -- evaluates to "first,second"
get lastName,firstName  middleName

glossary: string, concatenate, operator

keyword: string

constant: comma

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?